Page({
  data: {
    banners: [
      '/images/banner1.jpg',
      '/images/banner2.jpg',
      '/images/banner3.jpg'
    ],
    notices: [
      { id: 1, content: '本周六放假一天', time: '2024-06-01 10:00' },
      { id: 2, content: '下周一正常上课', time: '2024-05-31 16:30' }
    ]
  },
  goAttendance() {
    wx.navigateTo({ url: '/pages/attendance/list/list' });
  },
  goDiet() {
    wx.navigateTo({ url: '/pages/diet/schedule/schedule' });
  }
}); 